﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.Workflow
{
    /// <summary>
    /// activity的访问权限对象
    /// </summary>
    public class ActivityRight
    {
        public Guid Id { get; set; }

        public ActivityMetadata Activity { get; set; }
        public Guid ActivityId { get; set; }

        public Role Role { get; set; }
        public Guid RoleId { get; set; }

        public bool IsAllowVisit { get; set; }
        public bool IsAllowModify { get; set; }
        public bool IsAllowRemove { get; set; }

        public List<FieldRight> FieldRights { get; set; }
    }
}
